package dome1;

public class Text {
    public static void main(String[] args) {
//        Person person1 = new Person("小红",25);
//        Person person2 = new Person("小化",25);
//        System.out.println(person1.equals(person2));

        Person person3 = new Person("小红",25);
        Person person4 = new Person("小红",25);
        System.out.println(person3.hashCode());
        System.out.println(person4.hashCode());
    }
}
